package com.olddriver.crm.service;

import com.olddriver.crm.domain.Client;
import com.olddriver.crm.page.PageResult;
import com.olddriver.crm.query.ClientQueryObject;

import java.util.List;

public interface IClientService {

    int save(Client client);

    void updateStatus(Long id,Byte status,String reason);

    void update(Client client);

    void delete(Long id);

    Client get(Long id);

    List<Client> list();

    PageResult query(ClientQueryObject qo);

    void updateTakeUser(Client client,String reason);

    public int getUnsignClient();

    List<Client> selectNoTakeUser(ClientQueryObject qo);
}
